using UnityEngine;

namespace VoxelGame
{
	[CreateAssetMenu(menuName = "Voxel/WorldSelectionList")]
	public class WorldSelectionList : ScriptableObject
	{
		[SerializeField]
		public string AnalyticsName;

		[SerializeField]
		private WorldSelectionConfig[] _configs;

		private Texture2D _iconTexture;

		public WorldSelectionConfig[] Configs => _configs;

		public int Length()
		{
			if (_configs != null)
			{
				return _configs.Length;
			}
			return 0;
		}
	}
}
